Label Field
Type
widget
Summary
A label field
Description
A field displaying a fixed text string to be used as a label.
In edit mode, double-clicking the label field brings up an input field which allows the string to be modified.
Children Properties
Property
Name | Summary | Syntax |
---|---|---|
editable | Defines if the user can edit or change the text of the label | set the editable of <widget> to {<true> | <false>} get the editable of <widget> |
verticalAlign | The vertical alignment of the label text | set the verticalAlign of <widget> to pAlignment get the verticalAlign of <widget> |
multiline | If the label is displayed on multiple lines | set the multiline of <widget> to {<true> | <false>} get the multiline of <widget> |
borderRadius | The border radius of the label field | set the borderRadius of <widget> to pRadius get the borderRadius of <widget> |
borderWidth | The border width of the label field | set the borderWidth of <widget> to pWidth get the borderWidth of <widget> |
padding | The padding that the text of the label will have | set the padding of <widget> to {<integer>} get the padding of <widget> |
label | The text to display as the field's label | set the label of <widget> to pLabel get the label of <widget> |
backgroundColor | The background color of the label field | set the backgroundColor of <widget> to pColor get the backgroundColor of <widget> |
themeData | The theme mappings of this widget | set the themeData of <widget> to {<array>} get the themeData of <widget> |
textColor | The text color of the label field | set the textColor of <widget> to pColor get the textColor of <widget> |
textTheme | The text theme mappings of this widget | set the textTheme of <widget> to {<array>} get the textTheme of <widget> |
borderColor | The border color of the label field | set the borderColor of <widget> to pColor get the borderColor of <widget> |